package guoanmaker.operator.business.repository;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import guoanmaker.operator.business.model.OperatorQuestionOrder;
import guoanmaker.operator.business.model.OperatorQuestionOrderLog;

public interface OperatorQuestionOrderLogRepository extends JpaRepository<OperatorQuestionOrderLog, String>, JpaSpecificationExecutor<OperatorQuestionOrder>{
	@Query("select u from OperatorQuestionOrderLog u  where u.questionOrderId=:questionOrderId order by createTime desc")
	   public List<OperatorQuestionOrderLog> findByquestionOrderId(@Param("questionOrderId") String questionOrderId);
}
